package com.bupt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bupt.pojo.Voucher;

import java.util.List;

public interface VoucherMapper extends BaseMapper<Voucher> {
    int deleteByPrimaryKey(Long id);

    int insert(Voucher record);

    Voucher selectByPrimaryKey(Long id);

    List<Voucher> selectAll();

    int updateByPrimaryKey(Voucher record);

    List<Voucher> queryVoucherByShopId(Long shopId);
}